#pragma once
#include <Windows.h>

struct MsgInfo {
  MsgInfo(HWND window, UINT message, WPARAM wparam, LPARAM lparam)
      : window(window), message(message), wparam(wparam), lparam(lparam) {
    id = LOWORD(wparam);
    event = HIWORD(wparam);
  }
  WORD id;
  WORD event;
  HWND window;
  UINT message;
  WPARAM wparam;
  LPARAM lparam;
};
